
def index():
    " 生成预览图 generate preview "
#    if 'templateid' in request.vars.keys():
#        templateid = request.vars['templateid']
#        form = db(db.templates.id == templateid).select()
#        for i in form:
#            session.template_content = i['content']
    show('template')
    
        
    return dict(
        )
